import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/theme-chalk/dark/css-vars.css'
import './style.css'
import App from './App.vue'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import { createPinia } from 'pinia'
import router from './router'

const pinia = createPinia()
createApp(App)
  .use(ElementPlus, {
    locale: zhCn,
  })
  .use(pinia)
  .use(router)
  .mount('#app')